nextcloud-desktop.git
12 months agoalways set a user if we got asked for one
Jyrki Gadinger [Thu, 6 Mar 2025 08:19:00 +0000 (09:19 +0100)]
always set a user if we got asked for one

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7975 from nextcloud/backport/7973/stable-3.16
Matthieu Gallien [Thu, 6 Mar 2025 08:34:06 +0000 (09:34 +0100)]
Merge pull request #7975 from nextcloud/backport/7973/stable-3.16

[stable-3.16] make use of the new `x-nc-skip-trashbin` header

12 months agomake use of the new `x-nc-skip-trashbin` header
Jyrki Gadinger [Thu, 6 Mar 2025 08:17:40 +0000 (09:17 +0100)]
make use of the new `x-nc-skip-trashbin` header

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7972 from nextcloud/backport/7959/stable-3.16
Matthieu Gallien [Thu, 6 Mar 2025 08:13:36 +0000 (09:13 +0100)]
Merge pull request #7972 from nextcloud/backport/7959/stable-3.16

[stable-3.16] gui/macOS: Fix emitted signal in file provider sync status GUI component

12 months agogui/macOS: Fix emitted signal in file provider sync status GUI component
Claudio Cambra [Mon, 3 Mar 2025 18:35:41 +0000 (02:35 +0800)]
gui/macOS: Fix emitted signal in file provider sync status GUI component

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoMerge pull request #7968 from nextcloud/backport/7964/stable-3.16
Matthieu Gallien [Thu, 6 Mar 2025 08:10:25 +0000 (09:10 +0100)]
Merge pull request #7968 from nextcloud/backport/7964/stable-3.16

[stable-3.16] Remove aditional text when error occurs.

12 months agoRemove aditional text when error occurs.
Camila Ayres [Tue, 4 Mar 2025 13:41:53 +0000 (14:41 +0100)]
Remove aditional text when error occurs.

Additional text was not user friendly since Sparkle throws an error when no new update is available.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 6 Mar 2025 03:02:28 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 5 Mar 2025 03:01:56 +0000 (03:01 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7963 from nextcloud/backport/7961/stable-3.16
Matthieu Gallien [Tue, 4 Mar 2025 10:16:32 +0000 (11:16 +0100)]
Merge pull request #7963 from nextcloud/backport/7961/stable-3.16

[stable-3.16] Revert "gui: do not allow MainWindow to be resized"

12 months agoRevert "gui: do not allow MainWindow to be resized"
Jyrki Gadinger [Tue, 4 Mar 2025 10:07:53 +0000 (11:07 +0100)]
Revert "gui: do not allow MainWindow to be resized"

This reverts commit 0963856a941e85881cc82b254585fc76bf5b3aa0.

turns out it's fine on Sonoma, whereas it breaks on Sequoia (the window
now gets stuck below the menubar) -- maybe I'll open up a QTBUG later if
I can reproduce this with a minimal example

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 4 Mar 2025 03:03:45 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoBump version to release 3.16.0-rc4.
Camila Ayres [Mon, 3 Mar 2025 18:33:27 +0000 (19:33 +0100)]
Bump version to release 3.16.0-rc4.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoMerge pull request #7957 from nextcloud/backport/7956/stable-3.16
Camila Ayres [Mon, 3 Mar 2025 18:16:12 +0000 (19:16 +0100)]
Merge pull request #7957 from nextcloud/backport/7956/stable-3.16

[stable-3.16] gui: do not allow MainWindow to be resized

12 months agogui: do not allow MainWindow to be resized
Jyrki Gadinger [Mon, 3 Mar 2025 16:53:56 +0000 (17:53 +0100)]
gui: do not allow MainWindow to be resized

previously macOS let you resize the activity window, resulting in
strange visual artifacts...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7955 from nextcloud/backport/7937/stable-3.16
Matthieu Gallien [Mon, 3 Mar 2025 16:21:30 +0000 (17:21 +0100)]
Merge pull request #7955 from nextcloud/backport/7937/stable-3.16

[stable-3.16] gui/tray: Fix some tray view papercuts

12 months agogui/tray: Make bottom buttons in user status selector smaller
Claudio Cambra [Thu, 27 Feb 2025 09:32:53 +0000 (17:32 +0800)]
gui/tray: Make bottom buttons in user status selector smaller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/tray: Do not add custom styling to status message text field in user status
Claudio Cambra [Thu, 27 Feb 2025 09:22:31 +0000 (17:22 +0800)]
gui/tray: Do not add custom styling to status message text field in user status

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/tray: Add hacky workaround to avoid icon and text for menu items in tray header...
Claudio Cambra [Thu, 27 Feb 2025 08:21:50 +0000 (16:21 +0800)]
gui/tray: Add hacky workaround to avoid icon and text for menu items in tray header being too close

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/tray: Let menu handle sizing of child menu items in tray window header
Claudio Cambra [Thu, 27 Feb 2025 07:34:27 +0000 (15:34 +0800)]
gui/tray: Let menu handle sizing of child menu items in tray window header

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/tray: Use standard native buttons for bottom buttons in user status selector...
Claudio Cambra [Thu, 27 Feb 2025 07:05:18 +0000 (15:05 +0800)]
gui/tray: Use standard native buttons for bottom buttons in user status selector page

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoMerge pull request #7954 from nextcloud/backport/7950/stable-3.16
Matthieu Gallien [Mon, 3 Mar 2025 16:15:16 +0000 (17:15 +0100)]
Merge pull request #7954 from nextcloud/backport/7950/stable-3.16

[stable-3.16] update AppImage builds to Qt 6.8.2

12 months agoupdate AppImage builds to Qt 6.8.2
Jyrki Gadinger [Mon, 3 Mar 2025 15:14:35 +0000 (16:14 +0100)]
update AppImage builds to Qt 6.8.2

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7953 from nextcloud/backport/7928/stable-3.16
Matthieu Gallien [Mon, 3 Mar 2025 16:12:32 +0000 (17:12 +0100)]
Merge pull request #7953 from nextcloud/backport/7928/stable-3.16

[stable-3.16] gui/macOS: Remove "advanced settings" section for macOS VFS settings

12 months agogui/macOS: Use attached tooltip properties rather than creating a new tooltip in...
Claudio Cambra [Wed, 26 Feb 2025 02:46:48 +0000 (10:46 +0800)]
gui/macOS: Use attached tooltip properties rather than creating a new tooltip in request sync button

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/macOS: Add tooltip explaining the "request sync" action in the File Provider...
Claudio Cambra [Wed, 26 Feb 2025 02:33:06 +0000 (10:33 +0800)]
gui/macOS: Add tooltip explaining the "request sync" action in the File Provider settings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/macOS: Reimplement sync button more subtly within the sync status component
Claudio Cambra [Wed, 26 Feb 2025 02:15:54 +0000 (10:15 +0800)]
gui/macOS: Reimplement sync button more subtly within the sync status component

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agogui/macOS: Remove "Advanced" settings from File Provider settings
Claudio Cambra [Wed, 26 Feb 2025 02:15:27 +0000 (10:15 +0800)]
gui/macOS: Remove "Advanced" settings from File Provider settings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoMerge pull request #7952 from nextcloud/backport/7949/stable-3.16
Matthieu Gallien [Mon, 3 Mar 2025 16:07:50 +0000 (17:07 +0100)]
Merge pull request #7952 from nextcloud/backport/7949/stable-3.16

[stable-3.16] when deleting a remote locked file, provide needed lock headers

12 months agowhen deleting a remote locked file, provide needed lock headers
Matthieu Gallien [Mon, 3 Mar 2025 14:24:21 +0000 (15:24 +0100)]
when deleting a remote locked file, provide needed lock headers

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
12 months agoMerge pull request #7948 from nextcloud/backport/7942/stable-3.16
Camila Ayres [Mon, 3 Mar 2025 15:36:37 +0000 (16:36 +0100)]
Merge pull request #7948 from nextcloud/backport/7942/stable-3.16

[stable-3.16] gui/tray: Remove unused thumbnailjob class

12 months agogui/tray: Remove unused thumbnailjob class
Claudio Cambra [Fri, 28 Feb 2025 07:57:26 +0000 (15:57 +0800)]
gui/tray: Remove unused thumbnailjob class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoMerge pull request #7947 from nextcloud/backport/7943/stable-3.16
Camila Ayres [Mon, 3 Mar 2025 13:01:20 +0000 (14:01 +0100)]
Merge pull request #7947 from nextcloud/backport/7943/stable-3.16

[stable-3.16] gui/tray: Do not generate JPEG images in async image response for macOS

12 months agogui/tray: Do not generate JPEG images in async image response for macOS
Claudio Cambra [Fri, 28 Feb 2025 08:26:08 +0000 (16:26 +0800)]
gui/tray: Do not generate JPEG images in async image response for macOS

We are seeing libjpeg related crashes in our packaged version for macOS.
Until we are able to resolve this in the packaging, do not generate
JPEG-based images

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 3 Mar 2025 03:02:14 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 2 Mar 2025 03:01:31 +0000 (03:01 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 1 Mar 2025 03:25:06 +0000 (03:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7944 from nextcloud/backport/7941/stable-3.16
Claudio Cambra [Fri, 28 Feb 2025 16:50:51 +0000 (00:50 +0800)]
Merge pull request #7944 from nextcloud/backport/7941/stable-3.16

[stable-3.16] Added hiding remotePollInterval selector in settings if notify push available

12 months agocarried out suggested improvements
Pablo Ariño Muñoz [Fri, 28 Feb 2025 08:55:54 +0000 (09:55 +0100)]
carried out suggested improvements

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoChanged properties to designer file and hiding interval selector when notify push...
Pablo Ariño Muñoz [Thu, 27 Feb 2025 17:42:39 +0000 (18:42 +0100)]
Changed properties to designer file and hiding interval selector when notify push is available

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 28 Feb 2025 03:01:32 +0000 (03:01 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7936 from nextcloud/backport/7927/stable-3.16
Claudio Cambra [Thu, 27 Feb 2025 03:50:15 +0000 (11:50 +0800)]
Merge pull request #7936 from nextcloud/backport/7927/stable-3.16

[stable-3.16] Increased default limit of free space and critical free space

12 months agoChanged critical free space to 512MB and free space to 1GB in code and documentation
Pablo Ariño Muñoz [Tue, 25 Feb 2025 16:45:36 +0000 (17:45 +0100)]
Changed critical free space to 512MB and free space to 1GB in code and documentation

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 27 Feb 2025 03:05:09 +0000 (03:05 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7929 from nextcloud/backport/7926/stable-3.16
Claudio Cambra [Wed, 26 Feb 2025 12:26:54 +0000 (20:26 +0800)]
Merge pull request #7929 from nextcloud/backport/7926/stable-3.16

12 months agofixed formatting mistakes and removed unnecessary include
Pablo Ariño Muñoz [Wed, 26 Feb 2025 08:11:54 +0000 (09:11 +0100)]
fixed formatting mistakes and removed unnecessary include

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoSimplified the code, removed checkbox and moved section further down
Pablo Ariño Muñoz [Tue, 25 Feb 2025 15:54:16 +0000 (16:54 +0100)]
Simplified the code, removed checkbox and moved section further down

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFixed link by changing it from .ui to .cpp
Pablo Ariño Muñoz [Tue, 25 Feb 2025 15:06:44 +0000 (16:06 +0100)]
Fixed link by changing it from .ui to .cpp

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoAdded an option to customize the server poll interval in the Advanced Settings
Pablo Ariño Muñoz [Tue, 25 Feb 2025 14:43:29 +0000 (15:43 +0100)]
Added an option to customize the server poll interval in the Advanced Settings

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 26 Feb 2025 03:01:17 +0000 (03:01 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoPrepare for 3.16.0-rc3.
Camila Ayres [Tue, 25 Feb 2025 12:42:20 +0000 (13:42 +0100)]
Prepare for 3.16.0-rc3.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoMerge pull request #7923 from nextcloud/backport/7918/stable-3.16
Camila Ayres [Tue, 25 Feb 2025 12:26:14 +0000 (13:26 +0100)]
Merge pull request #7923 from nextcloud/backport/7918/stable-3.16

[stable-3.16] craft: Use Qt 6.8.2

12 months agocraft: Use Qt 6.8.2
Claudio Cambra [Tue, 25 Feb 2025 08:35:39 +0000 (16:35 +0800)]
craft: Use Qt 6.8.2

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
12 months agoMerge pull request #7922 from nextcloud/backport/7920/stable-3.16
Jyrki Gadinger [Tue, 25 Feb 2025 11:55:07 +0000 (12:55 +0100)]
Merge pull request #7922 from nextcloud/backport/7920/stable-3.16

[stable-3.16] do not display encrypt action for external folders

12 months agodo not display encrypt action for external folders
Jyrki Gadinger [Tue, 25 Feb 2025 08:39:33 +0000 (09:39 +0100)]
do not display encrypt action for external folders

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7921 from nextcloud/backport/7902/stable-3.16
Jyrki Gadinger [Tue, 25 Feb 2025 10:22:02 +0000 (11:22 +0100)]
Merge pull request #7921 from nextcloud/backport/7902/stable-3.16

[stable-3.16] Improve UI of settings

12 months agoRemove helpUlr() call from string.
Camila Ayres [Tue, 25 Feb 2025 09:11:29 +0000 (10:11 +0100)]
Remove helpUlr() call from string.

Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoAdjust layout margins to align text.
Camila Ayres [Thu, 20 Feb 2025 18:41:27 +0000 (19:41 +0100)]
Adjust layout margins to align text.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoRemove help url from developer string.
Camila Ayres [Thu, 20 Feb 2025 17:32:53 +0000 (18:32 +0100)]
Remove help url from developer string.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoUpdate help url default value.
Camila Ayres [Thu, 20 Feb 2025 17:30:01 +0000 (18:30 +0100)]
Update help url default value.

Signed-off-by: Camila Ayres <hello@camilasan.com>
12 months agoMerge pull request #7917 from nextcloud/backport/7916/stable-3.16
Claudio Cambra [Tue, 25 Feb 2025 07:58:07 +0000 (15:58 +0800)]
Merge pull request #7917 from nextcloud/backport/7916/stable-3.16

[stable-3.16] chore(i18n): Use correct plural syntax

12 months agochore(i18n): Use correct plural syntax
rakekniven [Tue, 25 Feb 2025 06:20:41 +0000 (07:20 +0100)]
chore(i18n): Use correct plural syntax

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
12 months agoMerge pull request #7915 from nextcloud/backport/7905/stable-3.16
Claudio Cambra [Tue, 25 Feb 2025 03:56:01 +0000 (11:56 +0800)]
Merge pull request #7915 from nextcloud/backport/7905/stable-3.16

12 months agoAdded copy of container to ranged loop so as to prevent crash
Pablo Ariño Muñoz [Mon, 24 Feb 2025 17:53:16 +0000 (18:53 +0100)]
Added copy of container to ranged loop so as to prevent crash

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoCarried out further fixes, changing types to auto and adding const
Pablo Ariño Muñoz [Sun, 23 Feb 2025 08:06:11 +0000 (09:06 +0100)]
Carried out further fixes, changing types to auto and adding const

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoAdded more std::as_const and replaced types for auto, as well as other suggestions
Pablo Ariño Muñoz [Sat, 22 Feb 2025 18:39:00 +0000 (19:39 +0100)]
Added more std::as_const and replaced types for auto, as well as other suggestions

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoReplaced qAsConst with std::as_const
Pablo Ariño Muñoz [Fri, 21 Feb 2025 08:28:44 +0000 (09:28 +0100)]
Replaced qAsConst with std::as_const

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoremoved redundant qAsConst
Pablo Ariño Muñoz [Fri, 21 Feb 2025 07:38:53 +0000 (08:38 +0100)]
removed redundant qAsConst

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoReplaced foreach with range loops
Pablo Ariño Muñoz [Thu, 20 Feb 2025 21:50:13 +0000 (22:50 +0100)]
Replaced foreach with range loops

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 25 Feb 2025 03:09:20 +0000 (03:09 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7913 from nextcloud/backport/7898/stable-3.16
Claudio Cambra [Mon, 24 Feb 2025 08:14:47 +0000 (16:14 +0800)]
Merge pull request #7913 from nextcloud/backport/7898/stable-3.16

[stable-3.16] Added space between sentences

12 months agoAdded space between sentences
Pablo Ariño Muñoz [Thu, 20 Feb 2025 12:50:19 +0000 (13:50 +0100)]
Added space between sentences

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoMerge pull request #7912 from nextcloud/backport/7904/stable-3.16
Claudio Cambra [Mon, 24 Feb 2025 07:54:40 +0000 (15:54 +0800)]
Merge pull request #7912 from nextcloud/backport/7904/stable-3.16

[stable-3.16] Added plural forms handling correction to notification message

12 months agoRemoved parenthesis and passed a nullptr for the disambiguation
Pablo Ariño Muñoz [Sun, 23 Feb 2025 07:26:31 +0000 (08:26 +0100)]
Removed parenthesis and passed a nullptr for the disambiguation

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoAdded plural forms handling correction to notification message
Pablo Ariño Muñoz [Thu, 20 Feb 2025 19:33:27 +0000 (20:33 +0100)]
Added plural forms handling correction to notification message

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 24 Feb 2025 02:56:55 +0000 (02:56 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 23 Feb 2025 02:59:05 +0000 (02:59 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7909 from nextcloud/backport/7908/stable-3.16
Jyrki Gadinger [Sat, 22 Feb 2025 11:13:02 +0000 (12:13 +0100)]
Merge pull request #7909 from nextcloud/backport/7908/stable-3.16

[stable-3.16] Bugfix/delete read only remnants

12 months agoensure we can delete invalid read-only items
Matthieu Gallien [Fri, 21 Feb 2025 12:47:00 +0000 (13:47 +0100)]
ensure we can delete invalid read-only items

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 22 Feb 2025 02:56:47 +0000 (02:56 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7907 from nextcloud/backport/7906/stable-3.16
Jyrki Gadinger [Fri, 21 Feb 2025 12:31:46 +0000 (13:31 +0100)]
Merge pull request #7907 from nextcloud/backport/7906/stable-3.16

[stable-3.16] UserStatusSelector: set focusPolicy on accept button

12 months agoUserStatusSelector: set focusPolicy on accept button
Jyrki Gadinger [Fri, 21 Feb 2025 09:30:04 +0000 (10:30 +0100)]
UserStatusSelector: set focusPolicy on accept button

otherwise the status text won't be set on macOS as the text box never
loses its focus

`Qt.StrongFocus` is the default focusPolicy on all platforms except for
macOS, there it's `Qt.TabFocus`

the other buttons of the UserStatusSelector don't need that focusPolicy
as they do not modify the model from values in the view

see also:
- https://bugreports.qt.io/browse/QTBUG-110295
- https://codebrowser.dev/qt6/qtdeclarative/src/quicktemplates/qquickabstractbutton.cpp.html#_ZN27QQuickAbstractButtonPrivate4initEv

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 21 Feb 2025 02:55:11 +0000 (02:55 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
12 months agoMerge pull request #7900 from nextcloud/backport/7899/stable-3.16
Jyrki Gadinger [Thu, 20 Feb 2025 16:36:14 +0000 (17:36 +0100)]
Merge pull request #7900 from nextcloud/backport/7899/stable-3.16

[stable-3.16] FolderStatusModel: only create a single QFileIconProvider object

12 months agoFolderStatusModel: only create a single QFileIconProvider object
Jyrki Gadinger [Thu, 20 Feb 2025 13:03:11 +0000 (14:03 +0100)]
FolderStatusModel: only create a single QFileIconProvider object

otherwise the icons will end up being loaded from the system each time,
which on Windows takes quite long (I saw many calls to
`shell32.dll!SHDefExtractIcon` during profiling)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoprepare for 3.16.0 rc2
Matthieu Gallien [Thu, 20 Feb 2025 12:27:24 +0000 (13:27 +0100)]
prepare for 3.16.0 rc2

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
12 months agoMerge pull request #7896 from nextcloud/backport/7894/stable-3.16
Matthieu Gallien [Thu, 20 Feb 2025 12:22:34 +0000 (13:22 +0100)]
Merge pull request #7896 from nextcloud/backport/7894/stable-3.16

[stable-3.16] fixed html formatting on encrypted warning message

12 months agofixed html formatting on encrypted warning message
Pablo Ariño Muñoz [Thu, 20 Feb 2025 11:00:16 +0000 (12:00 +0100)]
fixed html formatting on encrypted warning message

Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
12 months agoMerge pull request #7895 from nextcloud/backport/7856/stable-3.16
Matthieu Gallien [Thu, 20 Feb 2025 11:10:36 +0000 (12:10 +0100)]
Merge pull request #7895 from nextcloud/backport/7856/stable-3.16

[stable-3.16] improve ToS handling

12 months agocheck for need of signing TOS during connectivity check
Jyrki Gadinger [Tue, 18 Feb 2025 12:12:38 +0000 (13:12 +0100)]
check for need of signing TOS during connectivity check

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoadd a button to open the browser if TOS need to be signed
Jyrki Gadinger [Tue, 18 Feb 2025 10:53:38 +0000 (11:53 +0100)]
add a button to open the browser if TOS need to be signed

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoadd link to server if TOS needs to be signed
Jyrki Gadinger [Tue, 18 Feb 2025 10:53:13 +0000 (11:53 +0100)]
add link to server if TOS needs to be signed

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoimplement terms of service check wizard page
Jyrki Gadinger [Mon, 17 Feb 2025 17:01:08 +0000 (18:01 +0100)]
implement terms of service check wizard page

this is only shown if the TOS haven't been accepted yet!

for now this only opens the browser, similar to the Flow2Auth page

the `TermsOfServiceCheckWidget` is a combination of the `Flow2Auth` and
the `Flow2AuthWidget` classes -- in the future we ideally display the
required TOS directly in the wizard

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoadd a wizard page to check terms of service
Matthieu Gallien [Mon, 17 Feb 2025 10:49:35 +0000 (11:49 +0100)]
add a wizard page to check terms of service

should enable proper polling while the user check and signs the terms of
service via teh web browser

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agodetect the need to sign the terms of service during login web flow v2
Matthieu Gallien [Mon, 17 Feb 2025 08:14:05 +0000 (09:14 +0100)]
detect the need to sign the terms of service during login web flow v2

should avoid being blocked by terms_of_service blocking WebDAV access

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agowizard: display error message when ToS haven't been accepted yet
Jyrki Gadinger [Wed, 12 Feb 2025 11:33:20 +0000 (12:33 +0100)]
wizard: display error message when ToS haven't been accepted yet

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agousing multi-arg is better than many arg calls in QString class
Matthieu Gallien [Mon, 17 Feb 2025 09:51:03 +0000 (10:51 +0100)]
using multi-arg is better than many arg calls in QString class

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 months agoMerge pull request #7893 from nextcloud/backport/7876/stable-3.16
Matthieu Gallien [Thu, 20 Feb 2025 09:25:19 +0000 (10:25 +0100)]
Merge pull request #7893 from nextcloud/backport/7876/stable-3.16

[stable-3.16] prevent infinite sync loop: delay retry after many errors

12 months agoprevent infinite sync loop: delay retry after many errors
Matthieu Gallien [Mon, 17 Feb 2025 17:52:54 +0000 (18:52 +0100)]
prevent infinite sync loop: delay retry after many errors

10 seconds for try 3 and 4
30 seconds for try 5 and 6
60 seconds for more

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
12 months agoMerge pull request #7892 from nextcloud/backport/7881/stable-3.16
Matthieu Gallien [Thu, 20 Feb 2025 09:09:26 +0000 (10:09 +0100)]
Merge pull request #7892 from nextcloud/backport/7881/stable-3.16

[stable-3.16] Check if folder exists before deleting sync db and VFS sync root conection.